home *** CD-ROM | disk | FTP | other *** search
/ By Popular Request 2.0 / By Popular Request 2.0 (Arsenal Computer).ISO / amiga_1 / amnfrm55.lha / Inform / examples / shell.inf < prev    next >
Text File  |  1995-08-02  |  618b  |  24 lines

  1. ! ----------------------------------------------------------------------------
  2. !  And when he hath the kernel eat,
  3. !    Who doth not fling away the Shell?  - John Donne, "Community"
  4. ! ----------------------------------------------------------------------------
  5.  
  6. Constant Story "SHELL";
  7. Constant Headline "^An Interactive Skeleton^\
  8.              Copyright (c) 1994 by (your name here).^";
  9.  
  10. Include "Parser";
  11. Include "VerbLib";
  12.  
  13. Object Blank_Room "Blank Room"
  14.   with description "An empty room."
  15.   has  light;
  16.  
  17. [ Initialise;
  18.   location = Blank_Room;
  19.   print "^^^^^Welcome to the shell...^^";
  20. ];
  21.  
  22. Include "Grammar";
  23. end;
  24.